#include "include/appupgrade/appupgrade_plugin_c_api.h"

#include <flutter/plugin_registrar_windows.h>

#include "appupgrade_plugin.h"

void AppupgradePluginCApiRegisterWithRegistrar(
    FlutterDesktopPluginRegistrarRef registrar) {
  appupgrade::AppupgradePlugin::RegisterWithRegistrar(
      flutter::PluginRegistrarManager::GetInstance()
          ->GetRegistrar<flutter::PluginRegistrarWindows>(registrar));
}
